package leetcode.D100.T26;

import util.ListUtil;

public class E26 {
    public static void main(String[] args) {
        int[] nums = ListUtil.parseIntArray("[1,1,2]");
        int k = new Solution().removeDuplicates(nums);
        System.out.println(k);
        for (int i = 0; i < k; i++) {
            System.out.print(nums[i] + " ");
        }
    }
}
